﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="SimilarWordsServiceTestPage.cs" Inherits="Default2" %>

<!DOCTYPE html>
<html>
<head id="Head1" runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <h1>Similar Word Service Test Page</h1>
        <table style="width: 100%;" border="1">
            <tr>
                <td><b>Service Description</b></td>
                <td>The Similar Word service takes a <i>string</i> and analyzes it to see which<wbr />
                    words in the complete English dictionary are similar to it. A similar word is<wbr />
                    one which is contained within the passed in <i>string</i> or one which can be composed<wbr />
                    of the letters of the passed in <i>string</i>. 
                </td>
            </tr>
            <tr>
                <td><b>Service URL</b></td>
                <td><a href="http://10.0.2.143/SimilarWordsService/SimilarWordsWCFService.svc">http://10.0.2.143/SimilarWordsService/SimilarWordsWCFService.svc</a></td>
            </tr>
            <tr>
                <td><b>WSDL URL</b></td>
                <td><a href="http://10.0.2.143/SimilarWordsService/SimilarWordsWCFService.svc?singleWsdl">http://10.0.2.143/SimilarWordsService/SimilarWordsWCFService.svc?singleWsdl</a></td>
            </tr>
            <tr>
                <td><b>Methods</b></td>
                <td>Method List. Format: <i>return type :: MethodName(parameter(s))</i>
                    <ul>
                        <li>string[]::SimilarWords(string str)</li>
                    </ul>
                </td>
            </tr>
        </table>
        <p />
        <h2>Service Test</h2>
        <p />
        Word To Lookup:&nbsp;<asp:TextBox ID="similarWordTextBox" runat="server"></asp:TextBox>&nbsp;&nbsp;&nbsp;
        <asp:Button ID="submitButton" runat="server" Text="Submit" OnClick="submitButton_Click" />
        <p id="output">
            Similar Words:&nbsp;&nbsp;
            <asp:Label ID="similarWordsLabel" runat="server" Text=""></asp:Label>
        </p>
    </form>
</body>
</html>